package com.asset.dispoal.abolishPool.api;

import com.asset.dispoal.abolishPool.dto.AbolishPoolResponse;
import com.asset.dispoal.abolishPool.dto.QueryAbolishPoolRequest;
import com.asset.dispoal.abolishPool.dto.SaveAbolishPoolRequest;
import tech.mhuang.pacebox.springboot.protocol.Result;
import tech.mhuang.pacebox.springboot.protocol.data.PageVO;

/**
 * @description:
 * @author: yf
 * @date: 2022-09-22 13:56:13
 */
public interface AbolishPoolService {

    /**
     * 新增/修改
     *
     * @param request
     * @return
     */
    Result save(SaveAbolishPoolRequest request);

    /**
     * 分页查询废案配置数据
     *
     * @param request
     * @return
     */
    Result<PageVO<AbolishPoolResponse>> query(QueryAbolishPoolRequest request);

    /**
     * 删除配置
     *
     * @param configId
     * @return
     */
    Result delete(String configId);
}
